package cn.iune.erp.baseinfo;


import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IFileFactoryDao {
	
	public void insert(FileFactory obj);
	
	public void delete(String fID);
	
	public FileFactory update(FileFactory obj);

	public List<FileFactory> getAll();
	
	public FileFactory getByID(String fID);
	
	public FileFactory getByNo(String factoryNo, String enterpriseNo);
	
	FileFactory getByName(String factoryName, String enterpriseNo);

	JSONObject query(JSONObject data) throws SQLException;

	List<FileFactory> getStoreList(String enterpriseNo);

	JSONObject create(JSONObject data);


	
}
